﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SnmpForm.ApBatchConfig
{
    class BatchWlanEnableTask:BatchTask
    {
        bool _bEnable = false;
        public BatchWlanEnableTask(FrmApBatchConfig objForm,
            List<BusinessWrapper.Ap> aps, 
            bool enable)
            : base(objForm, aps)
        {
            _bEnable = enable;
        }

        public override void ApRequestAction(BusinessWrapper.Ap ap)
        {
            ap.SetWirelessOnBoot(_bEnable);
        }
    }
}
